package com.lnsf.bookstore.web.serachHistory.service;

import com.lnsf.bookstore.web.serachHistory.vo.ApiSerachHistory;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



public interface ApiSearchHistoryService {

    ApiSerachHistory queryObject(Integer id);

    List<ApiSerachHistory> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(ApiSerachHistory apiSerachHistory);

    void update(ApiSerachHistory apiSerachHistory);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    void deleteByUserId(Integer userId);

}
